Repository navigation
Integrations: one status per product, from every way the team reaches it - #672
Merged
Merged
Conversation
A team signed in to Confluence for Knowledge saw "Not connected" on the Confluence card: the card was built from saved connectors and the Jira app only, and never looked at the Knowledge sign-in (kept apart from MCP servers, so the page's server list leaves it out). - integration_status: every way a team reaches a product is a path; the card is worked out from all of them. Connected when any use works, with what it is used for; a use nothing serves is ready when a working sign-in can serve it with no second sign-in, or says exactly what it needs; never "not connected" while a path works. - Confluence, Notion, Sanity, Figma, Sentry and the rest of the catalog use it; Google Drive gets a card once the team signed in. Cards carry uses, how, connected_by and connected_at. - Confluence can be read during runs with the Atlassian sign-in made for Knowledge (a connection with via "sign_in", switched on by an admin): same scopes, no second sign-in, reading only. - A record for a vendor's server the catalog no longer offers that was never connected is listed as unused, not shown as a second sign-in. Nothing is deleted. - Sign-ins in progress: a new one ends the attempt it replaces, a cancel route ends one at once, expired ones are swept when the page loads, and a sign-in start says how long it can still be finished.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
One status per product on Settings, Integrations, worked out from every record the team has for it (connector, Jira app, Knowledge sign-in, vendor server, app sign-in, plugin key). A product with a working sign-in never reads "Not connected". Sign-ins in progress always end.
Changes
integration_status: every way a team reaches a product is a path; the card says what it is used for and, for a use nothing serves, either that the working sign-in can serve it (one switch) or exactly what is missing with one action.uses,how,connected_by,connected_at.via: "sign_in", admin switch, read only).DELETE /api/mcp-servers/{id}/sign-incancels, expired ones are swept on page load, a start returnsserver_idandexpires_in.Verification
cargo fmt --check --all,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspacepass locally.